import java.awt.geom.Point2D;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;

import javax.imageio.ImageIO;


public class RoadsDetection {
	Point2D [] lines;
	DoubleMap  normalx;
	DoubleMap normaly;
	DoubleMap deltax;
	DoubleMap deltay;
	private int [] pixels;
	
	public RoadsDetection(InputStream imageStream,  Point2D [] lines,  DoubleMap  normalx, DoubleMap normaly) throws IOException {
		BufferedImage read = ImageIO.read(imageStream);
		pixels = read.getRaster().getPixels(0, 0, read.getWidth(), read.getHeight(), new int [0]);
		
		
	}
}
